package com.hc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hc.common.bean.PageBean;
import com.hc.domain.ProductSpecs;
import com.hc.query.ProductSpecsCondition;
import com.hc.res.ProductSpecsItem;

import java.util.List;

/**
 * @author hecai
 * @date 2021/12/7 15:10
 */
public interface ProductSpecsService extends IService<ProductSpecs> {


    int updateBatch(List<ProductSpecs> list);

    int batchInsert(List<ProductSpecs> list);
    /**
     * 条件查询商品
     * @param condition
     * @return
     */
    PageBean<ProductSpecsItem> queryByCondition(ProductSpecsCondition condition);
}